<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    %>
    <base href="<%=basePath%>">
    <title>跳转小程序</title>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <title>title</title>
</head>
<style>
    @media screen and (max-width: 320px) {
        html {
            font-size: 8.5333px !important;
        }
    }

    @media screen and (min-width: 320px) {
        html {
            font-size: 8.5333px !important;
        }
    }

    @media screen and (min-width: 360px) {
        html {
            font-size: 9.6px !important;
        }
    }

    @media screen and (min-width: 375px) {
        html {
            font-size: 10px !important;
        }
    }

    @media screen and (min-width: 384px) {
        html {
            font-size: 10.24px !important;
        }
    }

    @media screen and (min-width: 411px) {
        html {
            font-size: 10.96px !important;
        }
    }

    @media screen and (min-width: 414px) {
        html {
            font-size: 11.04px !important;
        }
    }

    @media screen and (min-width: 448px) {
        html {
            font-size: 11.9467px !important;
        }
    }

    @media screen and (min-width: 480px) {
        html {
            font-size: 12.8px !important;
        }
    }

    @media screen and (min-width: 512px) {
        html {
            font-size: 13.6533px !important;
        }
    }

    @media screen and (min-width: 544px) {
        html {
            font-size: 14.5067px !important;
        }
    }

    @media screen and (min-width: 576px) {
        html {
            font-size: 15.36px !important;
        }
    }

    @media screen and (min-width: 608px) {
        html {
            font-size: 16.2133px !important;
        }
    }

    @media screen and (min-width: 640px) {
        html {
            font-size: 17.0667px !important;
        }
    }

    @media screen and (min-width: 750px) {
        html {
            font-size: 20px !important;
        }
    }

    @media screen and (min-width: 768px) {
        html {
            font-size: 20px !important;
        }
    }

    @media screen and (min-width: 768px) {
        html {
            font-size: 20.48px !important;
        }
    }

    .box {
        width: 100vw;
        height: 100vh;
        position: relative;
    }

    .btn {
        width: 20rem;
        height: 3rem;
        background-color: #527e7d;
        text-align: center;
        line-height: 3rem;
        font-size: 2rem;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }
</style>
<body>
<div class="box">
    <div class="btn" onclick="jump()">点击跳转小程序</div>
</div>
</body>
</html>
<script>
    function jump() {
        window.location.href = "${scheme}";
    }
</script>